{% extends 'wiki/base.html' %}


{% block content %}
	<h1><a href="../{{ page.name }}/" rel="bookmark">{{ page.name }}</a></h1>

	{% if not page.id %}
		<p>This page does not exist, <a href="edit/">create it now</a>?</p>
	{% endif %}

	{{ page.rendered|safe|linebreaks }}
{% endblock %}


{% block footer %}
	{% if page.id %}
		<a href="edit/">Edit this page</a>
	{% else %}
		<a href="edit/">Create this page</a>
	{% endif %}
	|
{% endblock %}